package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.ProcessTemplate;
import com.youlai.boot.factory.model.form.ProcessTemplateForm;

/**
 * 工序模板主对象转换器
 *
 * @author youlaitech
 * @since 2025-10-01 05:11
 */
@Mapper(componentModel = "spring")
public interface ProcessTemplateConverter{

    ProcessTemplateForm toForm(ProcessTemplate entity);

    ProcessTemplate toEntity(ProcessTemplateForm formData);
}